﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TraHospitalList.aspx.cs"
    Inherits="Supervise_TraHospitalList" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../styles/css.css" rel="stylesheet" type="text/css">
    <script language="vbscript" src="../Common/yz.vbs"></script>
            <script language="javascript" type="text/javascript">
    function SelelctCompany(AccountIdYY,HospitalName)
    {
    
		    var obj=new Object;		   
		    obj.AccountIdYY = AccountIdYY;
		    obj.HospitalName = HospitalName;
		    
    	    self.opener.confirmvalue_YY(obj);
		    window.close();
    }
    </script>


</head>
<body>
    <form id="form1" runat="server">
        <div>
            <br>
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="4">
                        <img src="../images/intro_left.gif" width="4" height="34"></td>
                    <td class="intro_wordbg">
                        医院列表</td>
                    <td background="../images/intro_bg.gif">
                        <img src="../images/intro_right.jpg" width="118" height="34"></td>
                </tr>
            </table>
            <table id="tabData" width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="right">
                        用户编码：</td>
                    <td style="height: 24px">
                        <asp:TextBox ID="txtUserCode" runat="server" InvertedComma="用户编码"></asp:TextBox></td>
                    <td align="right">
                        单位名称：</td>
                    <td style="height: 24px">
                        <asp:TextBox ID="txtHospitalName" runat="server" InvertedComma="单位名称"></asp:TextBox></td>
                    <td style="height: 24px">
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        地区：</td>
                    <td>
                        <asp:DropDownList ID="lstAreaId" runat="server" Width="155px">
                        </asp:DropDownList></td>
                    <td align="right">
                        级别：</td>
                    <td>
                        <asp:DropDownList ID="lstDistinction" runat="server" Width="155px">
                        </asp:DropDownList></td>
                    <td>
                        <asp:Button ID="Button6" runat="server" OnClick="Button5_Click" CssClass="button_Query"
                            Text="" OnClientClick="javascript:return CheckForm();" /></td>
                </tr>
            </table>
            <asp:DataList ID="dtlHospital" runat="server" Width="98%">
                <ItemStyle CssClass="table_td" />
                <AlternatingItemStyle CssClass="table_td2" />
                <HeaderTemplate>
                    <table width="98%">
                        <tr>
                            <td align="center" width="35%" class="table_title">
                                医院名称</td>
                            <td align="center" width="20%" class="table_title">
                                用户编码</td>
                            <td align="center" width="10%" class="table_title">
                                医院级别</td>
                            <td align="center" width="10%" class="table_title">
                                医院类型</td>
                            <td align="center" width="10%" class="table_title">
                                地区</td>
                            <td align="center" width="12%" class="table_title">
                                选择</td>
                        </tr>
                    </table>
                </HeaderTemplate>
                <ItemTemplate>
                    <table width="98%">
                        <tr>
                            <td width="35%" align="center">
                                <%# DataBinder.Eval(Container.DataItem, "HospitalName")%>
                            </td>
                            <td width="20%" align="center">
                                <%# DataBinder.Eval(Container.DataItem, "UserCode")%>
                            </td>
                            <td width="10%" align="center">
                                <%# DataBinder.Eval(Container.DataItem, "distinction")%>
                            </td>
                            <td width="10%" align="center">
                                <%# DataBinder.Eval(Container.DataItem, "sort")%>
                            </td>
                            <td width="10%" align="center">
                                <%# DataBinder.Eval(Container.DataItem, "areaname")%>
                            </td>
                            <td width="12%" align="center">
                                <a href="javascript:SelelctCompany('<%# DataBinder.Eval(Container.DataItem, "AccountID")%>','<%# DataBinder.Eval(Container.DataItem,"HospitalName")%> ')">
                                    选择 </a>
                           </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
            <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
        </div>
    </form>
</body>
</html>
